﻿using System.Runtime;

namespace System.Reflection
{
    public struct CustomAttributeTypedArgument
    {
        public Type ArgumentType
        {
            [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
            get { return null; }
        }

        public object Value
        {
            [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
            get { return null; }
        }

        public static bool operator ==(CustomAttributeTypedArgument left, CustomAttributeTypedArgument right)
        {
            return left.Equals(right);
        }

        public static bool operator !=(CustomAttributeTypedArgument left, CustomAttributeTypedArgument right)
        {
            return !left.Equals(right);
        }

        public CustomAttributeTypedArgument(Type argumentType, object value)
        {
        }

        public CustomAttributeTypedArgument(object value)
        {
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }
        
        public override bool Equals(object obj)
        {
            return false;
        }
    }
}
